package com.gitee.zhuyb.recursive;

import java.util.List;

/**
 * @version 1.0.0
 * @Description: 机构实体
 * @Date: 2021/12/25 8:53
 * @Copyright (C) ZhuYouBin
 */
public class OrgVo {
    private String orgNo;
    private String orgName;
    private String parentOrgNo;
    private List<OrgVo> children;

    public String getOrgNo() {
        return orgNo;
    }

    public void setOrgNo(String orgNo) {
        this.orgNo = orgNo;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getParentOrgNo() {
        return parentOrgNo;
    }

    public void setParentOrgNo(String parentOrgNo) {
        this.parentOrgNo = parentOrgNo;
    }

    public List<OrgVo> getChildren() {
        return children;
    }

    public void setChildren(List<OrgVo> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "OrgVo{" +
                "orgNo='" + orgNo + '\'' +
                ", orgName='" + orgName + '\'' +
                ", parentOrgNo='" + parentOrgNo + '\'' +
                ", children=" + children +
                '}';
    }
}
